<?php
defined('IN_APPS') or die('No direct access!');

/**
 * Frontpage controller
 */  
class Frontpage extends Controller {
	
	/**
	 * Default action for controller. We will use this action to list all the blog posts	 
	 */	 	
	public function index()
	{
		// load smarty from our global variable
		global $view;
		
		// set page title
		$view->assign('title', 'Welcome to My Blog : ' . $this->title);
		
		// load the view file
		$view->display('frontpage.index.php');
	}
	
}